<?php

namespace app\controller\admin;

use liketp\Request;

class Menu
{
    public function menuList(Request $request)
    {
        $menu = ['system', 'setting', 'product', 'order', 'marketing' => ['secend-kill', 'group-buy', 'lottery']];
        $res = view()->data(['gg' => 'kkaa', 'title' => 'MenuList', 'menu' => $menu]);
        return $res;
    }

    public function ping()
    {
        return __METHOD__;
    }

    public function lige()
    {
        return __METHOD__ . ' (class method)';
    }

    public static function configList()
    {
        return __METHOD__ . ' (Static Method)';
    }
}
